import request from "@/utils/request";

export const getGroup = async () => {
  return request({
    url: "/lotterys/biz/group-query",
    method: "GET",
  });
};

export const addGroup = async (data) => {
  return request({
    url: "/lotterys/biz/group-add",
    method: "POST",
    data,
  });
};

export const deleteGroup = async (data) => {
  return request({
    url: "/lotterys/biz/group-delete",
    method: "POST",
    data,
  });
};
